import { setStorageToken, getStorageToken } from '@/utils/storage'
export default {
  namespaced: true,
  state: {
    token: getStorageToken()
  },
  getters: {},
  mutations: {
    setToken(state, payload) {
      state.token = payload
      setStorageToken(payload)
    }
  },
  actions: {}
}
